10 ILCS 5/24A-10.1
2021 Illinois Compiled Statutes|Chapter 10 - ELECTIONS|10 ILCS 5/ - Election Code.|Article 24A - Electronic, Mechanical Or Electric Voting Systems

 (from Ch. 46, par. 24A-10.1)Sec. 24A-10.1. In an election jurisdiction where in-precinct counting  equipment is utilized, the following procedures for counting and  tallying the ballots shall apply:Immediately after the closing of the polls, the precinct judges of election shall open the ballot box and count the  number of ballots therein  to determine if such number agrees with the number of voters voting as shown  by the applications for ballot or, if the same do not agree, the judges  of election shall make such ballots agree with the applications for ballot  in the manner provided by Section 17-18 of this Act.  The judges of election shall then examine all ballot cards and ballot card  envelopes which are in the ballot box to determine whether the ballot cards  and ballot card envelopes contain the initials of a precinct judge of  election.  If any ballot card or ballot card envelope is not initialed, it  shall be marked on the back "Defective", initialed as to such label by all  judges immediately under the word "Defective" and not counted.  The judges of  election shall place an initialed blank official ballot card in the place of  the defective ballot card, so that the count of the ballot cards to be counted  on the automatic tabulating equipment will be the same, and each "Defective  Ballot" card and "Replacement" card shall contain the same serial number  which shall be placed thereon by the judges of election, commencing with  number 1 and continuing consecutively for the ballots of that kind in that  precinct. The original "Defective" card shall be placed in the "Defective  Ballot Envelope" provided for that purpose.When an electronic voting system is used which utilizes a ballot card,  before separating the remaining ballot cards from their respective covering  envelopes, the judges of election shall examine the ballot card envelopes  for write-in votes.  When the voter has cast a write-in vote, the judges  of election shall compare the write-in vote with the votes on the ballot  card to determine whether such write-in results in an overvote for any office.  In case of an overvote for any office, the judges of election, consisting  in each case of at least  one judge of election of each of the 2 major political parties, shall make  a true duplicate ballot of all votes on such ballot card except for the  office which is overvoted, by using the ballot label booklet of the precinct  and one of the marking devices of the precinct so as to transfer all votes  of the voter, except for the office overvoted, to a duplicate card.  The  original ballot card and envelope upon which there is an overvote shall  be clearly labeled  "Overvoted Ballot", and each such "Overvoted Ballot" as well as its  "Replacement" shall contain the same serial number which shall be placed thereon by the  judges of election, commencing with number 1 and continuing consecutively  for the ballots of that kind in that precinct.  The "Overvoted Ballot" card and ballot envelope shall be placed in an envelope  provided for that purpose labeled "Duplicate Ballot" envelope, and the judges  of election shall initial the "Replacement" ballot  cards and shall place them with the other ballot cards to be counted on  the automatic tabulating  equipment.  Envelopes containing write-in votes marked in the place designated  therefor and containing the initials of a precinct judge of election and  not resulting in an overvote and otherwise complying with the election laws  as to marking shall be counted and tallied and their votes recorded on a  tally sheet provided by the election authority.The ballot cards and ballot card envelopes shall be separated in preparation  for counting by the automatic tabulating equipment provided for that  purpose by the election authority.Before the ballots are entered into the automatic tabulating  equipment, a precinct identification card provided by the election authority  shall be entered into the device to ensure that the totals are all zeroes  in the count column on the printing unit. A precinct judge of election  shall then count the ballots  by entering each ballot card into the automatic tabulating  equipment, and if any ballot or ballot card is damaged or defective so that  it cannot properly be counted by the automatic tabulating equipment, the  judges of election, consisting in each case of at least one judge of election  of each of the  2 major political parties, shall make a true duplicate ballot of all votes  on such ballot card by using the ballot label booklet of the precinct and  one of the marking devices of the precinct.  The original ballot or ballot  card and envelope shall be clearly labeled "Damaged Ballot" and the ballot  or ballot card so produced shall be clearly labeled "Duplicate Damaged Ballot",  and each shall contain the same serial number which shall be placed  thereon by the judges of election, commencing with number 1 and continuing  consecutively for the ballots of  that kind in the precinct.  The judges of election shall initial the "Duplicate  Damaged Ballot" ballot or ballot cards and shall enter the  duplicate damaged cards into the automatic tabulating equipment.  The "Damaged  Ballot" cards  shall be placed in the "Duplicated Ballots" envelope; after all ballot cards  have been successfully read, the judges of election shall check to make certain that  the last number printed by the printing unit is the same as the number of  voters making application for ballot in that precinct.  The number shall be listed on the "Statement of Ballots" form provided by  the election authority.The totals for all candidates and propositions shall be tabulated. One copy of an "In-Precinct Totals Report" shall be generated by the automatic tabulating equipment for return to the election authority. One copy of an "In-Precinct Totals Report" shall be generated and posted in a conspicuous place inside the polling place, provided that any authorized pollwatcher or other official authorized to be present in the polling place to observe the counting of ballots is present.The judges of election shall   provide, if requested, a set for each authorized pollwatcher or other official authorized  to be present in the polling place to observe the counting of ballots.  In addition,  sufficient  time shall be provided by the judges of election to the pollwatchers to  allow them to copy information from the copy   which has been posted.The judges of election shall count all unused ballot cards and enter the  number on the "Statement of Ballots".  All "Spoiled", "Defective" and  "Duplicated" ballot cards shall be counted and the number entered on the  "Statement of Ballots".The precinct judges of election shall select a bi-partisan team of 2 judges,  who shall immediately return the ballots in a sealed container, along with  all other election materials as instructed by the election authority;  provided, however, that such container must first be sealed by the election  judges with filament tape provided for such purpose which shall be wrapped  around the container lengthwise and crosswise, at least twice each way, in  such manner that the ballots cannot be removed from such container without  breaking the seal and filament tape and disturbing any signatures affixed  by the election judges to the container. The election authority shall keep  the office of the election authority, or any receiving stations designated  by such authority, open for at least 12 consecutive hours after the polls  close or until the ballots from all precincts with in-precinct counting  equipment within the jurisdiction of the election authority have been  returned to the election authority. Ballots returned to the office of the  election authority which are not signed and sealed as required by law shall  not be accepted by the election authority until the judges returning the  same make and sign the necessary corrections. Upon acceptance of the ballots  by the election authority, the judges returning the same shall take a  receipt signed by the election authority and stamped with the time and date  of such return. The election judges whose duty it is to return any ballots  as herein provided shall, in the event such ballots cannot be found when  needed, on proper request, produce the receipt which they are to take as above provided.  (Source: P.A. 94-645, eff. 8-22-05; 94-1000, eff. 7-3-06; 95-699, eff. 11-9-07.)