Earlier quoted context omitted.
It is still technically illegal to go to Cuba without a specific whitelisted reason (and tourism isn’t on the list). It’s just not strictly enforced.
So it is not illegal? you just need to go through the proper bureaucracy as you do with every countries. Last I looked into it a few years back it was easy to get the paper work, one person I found who went there just signed up for guitar lessons in Havana to study Cuban guitar, showed the paperwork for the guitar classes and was good to go because it was for educational reasons even if the guitar lessons only accoun…
Now it is still legal to go for exactly the same set of reasons, they just don't bother actually checking. There's no "paperwork" you need to get; you just tell the check-in agent which legal reason you fall under.