Unconstitutional as it violates the 1st Amendment freedom to assemble clause.
That’s not why it’s unconstitutional, but it’s unconstitutional. Violates 14th amendment equal protection among other things, but not right to assembly, which is about political gatherings.