Final answer:
Chinese immigration led to the establishment of restrictive immigration laws, such as the Chinese Exclusion Act of 1882, setting precedents for profiling and discriminatory enforcement, which shaped future definitions of illegal immigration as a criminal offense.
Step-by-step explanation:
Chinese immigration significantly shaped the definitions of "illegal immigration" as a criminal offense through the establishment of restrictive immigration laws, the criminalization of border crossings, and the increased deportations. Hostility towards Chinese immigrants, mined from economic fears and racial prejudice, unified various groups and politicians, leading to the enactment of the Chinese Exclusion Act of 1882, which was the first law in US history to explicitly bar a group of immigrants based on their race or ethnicity. The climate set by these laws culminated in a model where eventual legal measures were used to profile and discriminatorily enforce immigration regulations against various ethnic minorities, not just the Chinese. The immigration laws and their enforcement solidified the notion of illegal immigration and criminalized certain migration patterns, especially for nonwhite immigrants.