Is thinking a crime now?

Nightly news announced the FBI is picking up ISIS sympathizers all over the US. But have they committed a crime? Is thinking now the same as doing? In my mind, I once slapped an old boyfriend silly. Did I commit a crime & can I now be arrested for assault & battery? Does that mean he felt it? Does somebody have to update Orwell’s “1984.”

And another question: if I go through a red light & there’s no traffic cop around to nail me, have I committed a moving violation?