Card counting is technically not illegal in most jurisdictions as long as you aren’t using an electronic device or spotter. Spotters will count the cards for other players and signal when the table is “hot”. This is illegal, but brick-and-mortar casinos still have the discretion to ban suspected card counters for life.