I did find a city with an anti-crossdressing ordinance on the books, Walnut, CA:
Shall we all go line up for permits? It would be an interesting souvenir!No man or boy shall dress as a girl or woman without a permit from the sheriff, except for the purpose of amusement, show or drama. (Code 1959, § 4237.1)