If you don't have any foreign accounts, and therefore don't need to file a Report of Foreign Bank and Financial Accounts (FBAR), then checking the box accidentally doesn't affect your return. It is possible that the IRS may contact you for further information, in which case you can explain that it was an error.
You can contact the IRS to explain the error.
Since 1970, the Bank Secrecy Act requires U.S. persons to file a Report of Foreign Bank and Financial Accounts (FBAR) if they have:
- Financial interest in, signature authority or other authority over one or more accounts, such as bank accounts, brokerage accounts and mutual funds, in a foreign country, and
- The aggregate value of all foreign financial accounts exceeds $10,000 at any time during the calendar year.
A U.S. person is a citizen or resident of the United States or any domestic legal entity such as a partnership, corporation, limited liability company, estate or trust.
See this IRS article for more information.
[Edited 04/14/24| 8:51am PST]
@jodee1995