That is not correct.
There were 8 presidents (Washington, John Adams, Jefferson, Madison, Monroe, John Quincy Adams, Jackson and Harrison) who were not born on U.S. soil.
But the Constitution did allow for that.
I knew that would be mentioned. Article II definitely made an exception for them. they were Born as natural born British subjects but on July 4th, 1776, they became natural born American citizens. Their status was transferred. There’s a really good court ruling that touches on this transfer of citizenship but I don’t have it immediately handy.
George Washington Born: February 22, 1732, Westmoreland County, Virginia, VA
John Adams Born: October 30, 1735, Braintree, MA
Thomas Jefferson Born: April 13, 1743, Shadwell, VA
James Madison Born: March 16, 1751, Port Conway, VA
James Monroe Born: April 28, 1758, Monroe Hall, Virginia, VA
John Quincy Adams Born: July 11, 1767, Braintree, MA
Andrew Jackson Born: March 15, 1767, Waxhaws
William Henry Harrison Born: February 9, 1773, Charles City County, Virginia, VA