This stuck out to me: Made famous in books and movies, card counting is considered cheating, at least by casinos. In most states (but not New Jersey), known practitioners are banned. The wagering of card counters assumes a clearly recognizable pattern over time, and Johnson was being watched very carefully. The verdict: card counting was not Don Johnson’s game. He had beaten the casinos fair and square. Card counting…
It's not illegal, but how do you define cheating - is it by laws, or by rules set by the game runner? For example, in football (soccer) it's cheating to punch the ball into the goal... but the associations that decide on the rules could make this perfectly fair play next year, just by deciding that they no longer define it as cheating.
In Vegas, it's worth noting that a casino can eject any player for any reason, whether they are 'cheating' or not. If they are deemed to be actually cheating, they have the potential to sue for recompense, as well as blackball the gambler from that (and other) casinos. Nevada also has state laws that define what cheating is[1] and what recourse the casinos have.
Card counting is considered 'illegal' by the casinos, but most legislation only applies to physical tampering, such as marking cards or using illicit devices. That won't stop the casinos from ejecting or blackballing you for counting.
In Atlantic City though, they can't eject you for card counting, but they are allowed to change the table stakes on you. If you're at a $10,000 a hand table, and wiping out the casino in a way they don't like, they're perfectly allowed to change the table stakes to 25 cents at any table you sit down at.
It's crappy, but you're still welcome to enjoy the gambling experience, just without the potential to win anything significant.
[1] - http://www.leg.state.nv.us/NRS/NRS-465.html#NRS465Sec083