When we say card counting is not illegal, the statement comes with a caveat. While it is not illegal to count cards in your head, silently, it absolutely is illegal to use external devices in order to count cards. Being caught doing so can land a gambler in quite a lot of trouble.