Yes, it is illegal. Downloading a rented Xbox 360 game to your computer/hard drive constitutes copyright infringement and violates rental Terms of Service.
Preservation Exception (Narrow): Libraries/archives (Library of Congress) *may* circumvent for preservation under DMCA 1201 triennial exemption — **not for personal play**.
Don't risk it. Game Pass is cheaper than a lawyer.