Democrats are in a New York State of mind.

Their party must pick up 30 seats to win control of the House, and to even come close, they need to sweep all or most of the competitive New York seats.

The first hurdle in that process is Tuesday, when Empire State voters select their nominees in the state’s congressional races.

In the districts with competitive primaries, Democrats need the strongest candidates to emerge to give them the best shot at flipping two open seats currently held by Republicans and unseating four GOP incumbents.

New York is important because Democrats can’t make up its 30-seat deficit in Illinois, for example, where they don’t have competitive recruits in enough seats.