Ayala started his career with Estudiantes, having joined their academy at a young age.[3] He was first promoted into the club's first-team squad in February 2019, with the defensive midfielder appearing on the substitute's bench for a Primera División match with Argentinos Juniors on 18 February; though manager Leandro Benítez didn't select him to come on in the 2–1 defeat.[2][4] He went unused on the bench four further times up until December 2020.[2] Ayala's senior debut eventually arrived on 23 December 2020, as he replaced brother David for the final thirteen minutes of a Copa de la Superliga play-off loss to Defensa y Justicia.[2]
On 17 February 2021, Ayala was loaned out to Primera Nacional club Agropecuario until the end of the year.[10] In January 2022, Ayala was loaned out once again, this time to Ferro Carril Oeste until the end of 2022.[11]
Personal life
Ayala's brother, David, is also a professional footballer; they both started their careers with Estudiantes.[3][12][13] They have three other brothers, who also play football, and four sisters.[3][14]