Supposedly, the U.S. demands APIS information for overflights of U.S. territory (or even flights that go near but not over U.S. territory) so CBP certainly may know where you have been.
If crossing back to the U.S. in a private vehicle by land, at least you don't have a written declaration they can use to nail you.