I think you're confused. It's definitely not illegal in any state to have informal political discussions with coworkers. Maybe what you're referring to is that it's illegal for employers to tell employees to vote a certain a way or retaliate against them for holding certain political views.