Card counting is not prohibited under federal, state, and local legislation in the United States as long as players don't use any external card-counting device or receive help from others in counting cards. Casinos may ban players whom they believe to be card counters, which is sort of a ban.