In the founding documents it IS codified, however, that ALL are CREATED so that is not an optional nor religion specific, dogma enshrining possibility. CREATION is not in doubt as part of the fabric of this nation. YOU may choose to believe that a pagan god created humanity. You may choose to believe that we appeared from nothingness, evolved from soup, or were created by the same in spite of what objective, observational science tells us.
In your own home or place of worship, you may do so. You may not publicly force that belief on others. You may not threaten or harm someone in order to coerce such a belief. You have the freedom to express that belief to others publicly or privately, as long as you don't hinder them doing the same.
BUT... trying to pass laws that infringe on the rights of others OR infringe on the very foundation of this republic, are expressly forbidden by its charter. And for good reason.
THIS is why Islam was not allowed as a practiced religion/political belief by anyone holding office, elected or otherwise. In some places in this country it was the same for Catholic or Jewish beliefs as well because of well-documented dogma/beliefs expressed by these faiths AGAINST what individual states and the US Constitution and Declaration, etc., established as intrinsic to this nation.
Islam allows for abuse, enslavement, and forced conversion under threat of death of anyone not a follower of its tennets.
Catholicism at various times and through unredacted/unexpunged dogmas, canons, or decrees issued by its leaders has expressed similar tenets. Judaism has expressed similar bias against those who aren't Jewish.
Communism/socialism likewise has expressed similar untenable dogmas that make it an enemy of the constitution a d the foundation of this republic.
The end result is that these beliefs and any such as are contrary to the fundamental rights expressed in the documents establishing this country cannot be allowed to be brought to the table in legal form for consideration before congress. That they HAVE been brought and some passed is treasonous just in putting them to a vote.