Ilić was a member of the Serbian under-19 team that finished 7th at the 2019 FIBA Under-19 Basketball World Cup in Heraklion, Greece. Over seven tournament games, he averaged 10.9 points, 11.0 rebounds and 3.3 assists per game.