You'd have to be pretty stupid to not know this was illegal.
The things people are actually going to track you down for you can be pretty damn sure are easily identifiable as illegal. Sure, you may not be aware your Halloween costume of a priest is illegal (illegal to impersonate clergy) but no one's going to arrest you for it. They could, but arresting officers probably have only a slight degree better understanding than the average person. Now, if you're shooting someone, raping someone, bombing something, those things are obviously illegal and it doesn't take a Harvard student to know this...or maybe it does.