Former White House Communications Director Anthony Scaramucci says President Trump is calling himself a nationalist because he wants to anger people.

“He’s not a nationalist,” Scaramucci told CNN’s “New Day” on Wednesday. “He’s saying that he’s a nationalist because he wants you to be upset about it, but he’s really not a nationalist.”

Trump declared himself a nationalist at his rally Monday night with Texas Sen. Ted Cruz.

"A globalist is a person that wants the globe to do well, frankly not caring about the country so much. You know, we can't have that," Trump said. "You know what I am, I'm a nationalist."

Trump again embraced the title on Tuesday, telling reporters he doesn’t believe it has racial undertones.

Scaramucci said it’s not the best strategy for the president to use the term.

"Somebody should go knock on the door of the Oval Office and say, ‘Hey, you’re really not a nationalist and when you say you’re a nationalist what ends up happening is you’re going to tune out some of the people that you really need,’ ” he said.