@ArkBien #111942, @Spacewyrm:
It absolutely is illegal. It also probably violates a number of state and local anti discrimination laws/statutes. He should be forced to resign over this.
Also, they may not realize that getting rid of all LGBTQ+ literature will include Walt Whitman, Oscar Wilde, Virginia Woolf, Gore Vidal, Langston Hughes, Patricia Nell Warren, Countee Cullen, James Baldwin, Truman Capote, etc. Tchaikovsky would also have to be removed from the music section.
The mayor himself may not have an issue with getting rid of works by these authors, but that will deprive lots of readers of some really fantastic literature.