DONALD Trump drew parallels with his planned wall between the United States and Mexico as he expressed confidence that the Brexit logjam over the Irish border would work out “very well”.

The US president made the comments to Irish premier Leo Varadkar on his first official visit to Ireland since becoming president.

At the start of a bilateral meeting with the Taoiseach in Shannon Airport in County Clare, Trump said Brexit could be “very, very good for Ireland”.

“I think that will all work out, it will all work out very well and also for you, with your wall, your border,” he said.

“I mean we have a border situation in the United States.

"And you have one over here but I hear it’s going to work out very well. I think it’s both going to work out well, it’s going to work out very well here.”

READ MORE: Trump in dramatic U-turn over US access to the NHS after furious backlash

Varadkar told Trump that Ireland wanted to avoid any wall or border with Northern Ireland post-Brexit.

The president agreed that the current free-flowing Irish border should be preserved.

“The way it works now is good and I think you want to try to keep it that way and I know that’s a big point of contention with respect to Brexit is your border,” he said.

“And I’m sure it’s going to work out well. I know they are focused very heavily on it.”

Trump rejected the suggestion Brexit would be bad for Ireland.

“I think it will be good, the big thing is going to be your border but hopefully that is going to work out and I think it will work out,” he said.

“There are a lot of good minds thinking about how to do it and it’s going to be just fine and I think ultimately it could even be very, very good for Ireland, but the border will work out.”

Around a hundred people turned out to protest at the entrance to Shannon Airport as Air Force One touched down just before 5pm.

The group were protesting against the president’s policies on climate change and the use of Shannon Airport by the American military.

Some supporters of the president also gathered at the entrance.

Trump and First Lady Melania Trump will spend two nights at the president’s Doonbeg hotel and golf resort in County Clare.

He will use the luxury facility as a base to travel to France on Thursday for D-Day commemorations.

His arrival in Ireland comes amid a massive security operation in west County Clare. A ring of steel has been erected around the five-star Doonbeg resort.

Thousands of gardai descended on west Clare in a massive security operation. Around 3km of barriers and 3km of 6ft high fencing has been put in place and 1500 gardai drafted into the area for three days.

Officers have been deployed from western, southern, south eastern and Dublin regions and are being supported by 500 members who are attached to specialist units.

Trump’s opponents predicted that thousands of people would take part in protests across Ireland to coincide with his visit.

The Trump “baby blimp” was also expected to fly over Dublin at the biggest demonstration.