Card counting in blackjack is not illegal in casinos throughout the USA. However, it is generally prohibited in local establishments and can get you banned from the premises.