New York City FC forward Ismael Tajouri-Shradi (29) celebrates with Ebenezer Ofroi (12) after scoring a goal against the Montreal Impact during the second half at Stade Saputo. (Eric Bolte-USA TODAY Sports)

MONTREAL — Whatever New York City FC was missing earlier this MLS season, the team sure has found its mojo.

City won its third game in its last four contests, a 2-0 win over the Montreal Impact at Stade de Saputo Saturday night.

In fact, NYCFC has recorded 10 out of possible 12 points in its last four matches.

Maxi Moralez scored one goal and set up Ismael Tajouri-Shradi’s score.

“It was a fantastic game for us because it is not easy to play here,” NYCFC head coach Dome Torrent said. “They defended really well the last three or four games. But I’m very happy because I remember last year how many problems we had and right now the feeling is much better. My feeling is they are happy to play in this system, 3-4-3. Sometimes soccer is about the feeling and the feeling is much better.”

Moralez gave NYCFC all the scoring it needed in the sixth minute

Tajouri-Shradi doubled the advantage four minutes into the second half.

“Maxi brings so much to this team,” said NYCFC goalkeeper Sean Johnson, who recorded the shutout. When we don’t have him, it shows. He’s a special player, a special talent. He makes things happen even when things are tight. He’s got this leadership about him where he’s always sure of himself. I was really happy for him today.”

City played Montreal to a scoreless draw at Yankee Stadium April 6.

“We didn’t play well against Montreal at Yankee Stadium,” Torrent said. “I remember they played with one player down. Even so, we weren’t able to create chances. We played much better here. But you are a genius when you are able to win the game and you are a bad coach when you are not able to win a game.”