A New York appeals court ruled Wednesday that a law allowing noncitizens to vote in local elections in New York…