https://www.al-monitor.com/originals/2013/08/exemption-gay-m...
" If the psychological diagnosis confirms the individual’s homosexuality, an official, permanent exemption is issued for him. More often than not, a thorough rectal exam follows the mental evaluation. The physician’s observations providing proof of occurred same-sex intercourse is then written formally and submitted to the military. In some cases, further detail-oriented exams come into play, so the decision-makers can be certain of the applicant’s “queerness," making sure they are genuine, not a false pretense to escape the service. "
It's honestly a disgusting overreach whether you're trying to include or exclude people of whatever sexual proclivity. We can become like Iran, but for any ideology, given enough time and institutionalized dogmatism.