I think we can agree he was a critic of organized religion, and that it's pretty enlightened to not have the state impose religion on anyone.
That said I still think he (at least for a large chunk of his life) believed in the existence of a god, the god of Abraham/Christianity in particular.