I think there are seven states where such laws exist. They’re completely unenforcable ofcourse, due to article VI of the constitution. That doesn’t stop some people from trying though: In 2009, writer Cecil Bothwell was elected to the city council of Asheville, North Carolina. Some of his opponents tried to stop him by invoking North Carolina’s ban on atheists holding public office.