Every resolution and motion, specified in Section 5-3-2, and every ordinance, which is returned to the council or board by the mayor or president shall be reconsidered by the council or board. If, after such reconsideration, two-thirds of all the alderpersons then holding office on the city council or two-thirds of all the trustees then holding office on the village board agree to pass an ordinance, resolution, or motion, notwithstanding the mayor's or president's refusal to approve it, then it shall be effective. The vote on the question of passage over the mayor's or president's veto shall be by yeas and nays, and shall be recorded in the journal.
65 ILCS 5/5-3-3