Shiloh is a village in St. Clair County, Illinois, United States.The 2010 census recorded a population of 12,651.It is located within the St. Louis metropolitan area