765 ILCS 905/5
Every deed conveying real estate, which shall appear to have been intended only as a security in the nature of a mortgage, though it be an absolute conveyance in terms, shall be considered as a mortgage.
(from Ch. 95, par. 55)
(Source: Laws 1961, 1st Spec.Sess., p. 42.)