The McHenry County sheriff has called out an Illinois law that prevents law enforcement from working with the feds on immigration matters, saying the law compromises the safety of the community.