PURPOSE: This phase I trial is studying the side effects and best dose of BL22 immunotoxin in treating young patients with relapsed or refractory acute lymphoblastic leukemia or non-Hodgkin's lymphoma.