In this post the Office of Maritime Security Response Policy discusses the process by which vessels may receive a security boarding prior to entering a U.S. port.
Source: Domestic Vessels
Link: Overview of regulations governing High Interest Vessel (HIV) selection and boarding