外来人 is the everyday word for someone 'not from around here' — could be a foreigner, but more often a Chinese person from a different province or village. In rural settings it carries the connotation of being treated as an outsider; in cities (where
外来人口 'migrant population' is a common term), it's mostly neutral demographic vocabulary.