A person can be detained and deported if he/she entered the country illegally, committed a crime, violated immigration laws, or is considered a threat to public safety. One of the easiest ways to find out if a deportation order is against you is by checking your immigration record.