He is the first sitting U.S. president to attend, and it marked Trump's first trip to Long Island during his second term.