Usually, when you land in the US from a foreign country, you go through a customs inspection in the first US city you land in. However, if you're flying from one of 14 designated airports with preclearance facilities offered by Customs and Border Protection, or CBP, you clear customs before you fly.