Strictly speaking it is discriminatory. But so what?
I wouldn’t say it is, in terms of the meaning of discriminatory as it’s commonly used today.
It’s no more discriminatory than not allowing blind people to drive cars.
And the secular humanist narrative on this issue is that all along the ban has been either discriminatory (the result of homophobia and “panic” over AIDS during the ‘80s), or it was medically necessary only when AIDS first surfaced, the medical field didn’t know anything about it, and there was no testing for it.
Almost every story I’ve seen on the issue in the past couple of weeks neglects to mention that thousands of people actually contracted AIDS through blood transfusions and died of it.