The New York State Democratic Party passed a resolution Wednesday night to kick turncoat Brooklyn Sen. Simcha Felder out of the party for caucusing with Republicans and whose vote is the only reason the GOP controls the Senate chamber.

The resolution, though non-binding, is a stinging slap at Felder, who has a loyal following in the 17th senatorial district in south Brooklyn, particularly among its large orthodox Jewish population in Borough Park and Midwood.

“The import of the resolution is that the committee members are frustrated that they have 32 state Senators elected as Democrats and yet one of them continues to caucus with the Republicans,” said Geoff Berman, executive director of the state party.

“I look at the resolution as a symbol of that frustration.”

During the party’s nominating convention at Hofstra University, delegates also passed another resolution to support a primary opponent against Felder.

But Brooklyn Democratic Party chairman Frank Seddio slammed the resolution to boot Felder from the party, and made his displeasure known from the convention floor, sources said.

“The resolution is against the spirit of the Democratic Party’s principle of inclusiveness. Frank is not going to take any action against Simcha Felder,” said George Arzt, a spokesman for the Brooklyn party chairman.

As it happens, the Brooklyn Democratic Party is holding its annual gala Thursday night and the anti-Felder resolution will surely be a hot topic.

To strip Felder of his party’s registration, a complaint would have to be filed with Brooklyn Democratic Party Committee, which would then hold hearings and issue a report. Seddio’s opposition all but kills any chance of that happening.

Brooklyn Assemblyman Dov. Hikind, a Felder ally who also represents Borough Park and Midwood, also blasted the resolution. The anti-Felder move is an insult directed at the large and growing, ultra-religious Jewish constituency in the city, as well as Felder, he said.

“It sends a terrible message to the community. People resent the action. I wouldn’t be surprised if a lot of people leave the Democratic Party,” Hikind said.

Even Democratic Party sources say the move could backfire because Felder could win re-election in the district as a Republican.

Republicans maintain control of the state Senate only because Felder decided to stick with his GOP allies after Democrats won two open seats in special elections last month.

With Felder on their side, the Republicans have a 32-31 vote edge. The Democrats would be in charge if he caucused with them.

The two anti-Felder measures were included in a batch of resolutions that were passed in a voice vote Wednesday night.

The party also passed a resolution to legalize marijuana, which was expected.