Akin to ruling adoption by the mentally ill is unconstitutional. Or felons. Or child molesters. Or any other class of people to whom you do not want to entrust the welfare of a child. It’s an outrage and if this is the quality of the rulings we can expect from the judiciary, we’d be better off without a judiciary.
Either that, or just pick people off the street at random to be judges - make sure they can read and they're not felons and they're citizens. Or maybe out of the phone book, or voter rolls.