An Illinois Order is a court order issued by the state of Illinois that authorizes a law enforcement officer to take a person into custody in order to bring them before a court or other judicial officer. The person subject to an Illinois Order must be brought before a judge or magistrate for a hearing in order to determine if the person should remain in custody. There are two types of Illinois Order: an Order of Detention and an Order of Commitment. An Order of Detention is issued when the court or judicial officer finds probable cause to believe that the person committed an offense and is a danger to society. An Order of Commitment is issued when the court or judicial officer finds probable cause to believe that the person is mentally ill and a danger to themselves or others.