Some of the most prominent deists among the founders, like Thomas Jefferson, were called atheists by their contemporary political opponents because deists rejected the supernatural and did not belong to any church.)
So by that standard we have already had an atheist president