Two research chimpanzees at a state university on Long Island shouldn’t be considered legal persons and given the rights bestowed by so-called personhood, a New York State Supreme Court judge ruled Wednesday.

The case, brought by the animal-advocacy group the Nonhuman Rights Project, involved two chimps—Hercules and Leo—who have been at Stony Brook University and are used for research by an anatomical-sciences professor, according to court filings.

...