Galveston police have jailed a man they said impersonated an Immigration and Customs Enforcement agent and unlawfully detained an individual.