AA is not allied with any sect, denomination, politics, organization or institution; does not wish to engage in any controversy; neither endorses nor opposes any causes. Our primary purpose is to stay sober and help other alcoholics to achieve sobriety.
If AA excluded gays, half the membership would drop out and no one would be helped. I’ve known so many gay men in NYC and those that survived the AIDS crisis, sobered up with AA.
The Preamble and 3rd Tradition are pretty clear. We even mingle with blacks and Jews.