PURPOSE: This phase II trial is studying how well giving methotrexate and zidovudine together with radiation therapy works in treating patients with HIV-related primary central nervous system lymphoma.