Each airport is different, but most have dedicated international arrival gates that lead directly into the immigration hall. Usually coming off the plane you will see the locked door where you would go in if it were a domestic flight. Some airports have dedicated terminals for international arrivals.