Factors such as whether an individual is apprehended at the border, whether an individual is apprehended within the United States, and whether an individual has been convicted of certain crimes may determine whether that individual is detained and what kind of review, if any, takes place.