Standing alongside Bronx Borough President Rubén Díaz Jr., presidential candidate Hillary Clinton on Thursday shot back at GOP candidate Ted Cruz — and responded to Democratic rival Bernie Sanders’ assertion that she isn’t qualified for the presidency.

Sanders cited her use of Super PACs and her vote for the Iraq War.

“I don’t know why he’s saying that,” she told reporters outside Yankee Stadium. “But I would take Bernie Sanders over Donald Trump or Ted Cruz anytime.”

See alsoDelegate tracker2016 election2016 Voters Guide: What to know More coverageThe 2016 campaign: Complete coverage

“New York values, the people of New York, there is no place like it in the world,” she said, throwing back the phrase Cruz first used to slam his Republican rival Trump.

Clinton’s pop-up appearance came a day after Cruz’s visit — where he was accompanied by the borough president’s father, right-leaning Democratic state Sen. Rubén Díaz Sr.

Cruz sought Wednesday to frame his initial remarks as opposing liberal Democrats, not all New Yorkers.

advertisement | advertise on newsday

“The people of New York know what those values are, the values of liberal Democratic politicians like Andrew Cuomo, like Anthony Weiner, like Eliot Spitzer, like Charlie Rangel, all of whom Donald Trump has supported,” Cruz said.

Touting her role as New York senator for eight years, Clinton continued her Cruz statement by saying “I’m going to take those experiences — take those values — to the White House if the people of New York give me that great privilege.”

After her Yankee Stadium stop, Clinton rode the No. 4 subway with Díaz Jr.

Get the Newsday Now newsletter!

The best of Newsday every day in your inbox.

Before boarding the subway, Clinton struggled briefly while trying to swipe her MetroCard, according to media reports.

One video shows the Democratic presidential candidate swiped five times before she was successful.

Clinton, whose adopted home is Westchester County, rode the train for two stops with Diaz Jr. and several of her aides, according to media reports.

She disembarked at the 170th Street station in the Highbridge section of the borough and greeted several people before ducking into lunch.

The former secretary of state is campaigning in the area as the New York primary approaches on April 19.

advertisement | advertise on newsday

She is polling ahead of Sanders in the state. Sanders, her Democratic rival, was in the South Bronx last week, and spoke to thousands of supporters at a rally.

In an interview on CNN, New York City Mayor Bill de Blasio said “they’re clearly both qualified.”

“Let’s get back to the issues,” the mayor said, “because both clearly bring a lot to the table.”

With Emily Ngo and Gary Dymski