The question if card counting is illegal is common. If you are “caught”, meaning a casino heavily suspects you, casinos can kick you out for card counting. Not all of them to this, and it depends on a case-by-case basis. If you successfully count cards and win huge amounts of money, consider that you are probably the #1 threat on their radar.