Much as anyone may disapprove, it's not illegal to be gay.
---
Depends on whose law you adhere to.
Last I checked the only one the President can enforce is US law. There are all sorts of religious laws that cannot be enforced ... that of sharia for instance.
Individuals may adhere to God's law ... but in the US we adhere to man's law.