The CBP department is co-located in New York where the ISC is. When the package arrives, it first goes through customs check and then the rest of the processing like packaging, sorting etc.