That is certainly not true. I'll give you two examples from the many available.
First, Nebraska has a hate crimes law that treats gay victims differently from straight victims.
Second, the U.S. has the famous "Don't Ask, Don't Tell" law that expels gays from the military. Under that law, if a gay persons says that he is gay, then he is expelled from the military. But if a straight person (poor Klinger from M.A.S.H.!) says that he is gay, he is not expelled. Just saying that you are gay is not enough to get expelled. You actually have to be found to be gay, even if you have never engaged nor ever intend to engage in homosexual activities.
Point out which provision of the law does that.
Under that law, if a gay persons says that he is gay, then he is expelled from the military.
Nope. and I quote
That the member has stated that he or she is a homosexual or bisexual, or words to that effect, unless there is a further finding, made and approved in accordance with procedures set forth in the regulations, that the member has demonstrated that he or she is not a person who engages in, attempts to engage in, has a propensity to engage in, or intends to engage in homosexual acts.
Where does it say that it only applies to 'gay people' who state they are homosexual or bisexual?
If you're going to cite the statute (which is good) it's pretty silly to misrepresent what the statute says, since any fool can check that in five minutes.