The 22-year-old was at the end of his contract with Madrid, who loaned him out to Racing Santander last season.
Luca Zidane is one of Zinedine’s four sons, and spent 16 years at Madrid, coming through from the youth teams through to the first team, with whom he played just two games, in the 2017 and 2018 seasons.
At Rayo Vallecano — based in the southern Madrid suburbs — Luca Zidane, who won the European Under-17 championships in 2015 with France, will be in competition with Macedonian Stole Dimitrievski and Miguel Angel Morro.