The military ban is based upon unit cohesion and morale...
...both of which are incompatible with homosexuals openly serving the military.
And most likely when they are concealed as well.
This pro-homo cheerleader's prattling on about the "legality" to be a sodomite doesn't pass muster. It is legal to be a drunkard! You can buy alcohol all over the place. But being a drunkard will get you drummed out of the service if it renders you unfit for duty. The perversion of homosexuality similarly renders one unfit for duty.
...both of which are incompatible with homosexuals openly serving the military. To expand on what I said earlier, in one unit several homosexuals (acted normally though, not the activist types) were known to be so by quite a few straight people, and suspected by most of the rest of the unit. In another, everybody knew one woman was lesbian, and she was also one of our best soldiers (and one hell of a deuce-and-a-half driver). One was an armor unit and the other field artillery.
I must have been among an amazingly high concentration of good solders or above-average well-adjusted adults, because it caused no problems.