The suit, filed by more than 200 voters, called for New York to be an open primary state. That would have allowed anyone to cast ballots in primaries, regardless of party affiliation.