By several extractions with saturated NaHSO3 aqueous solution (prepared by dissolving sodium metabisulfite Na2S2O5 in water), you eliminate the most of aldehyde/ketone as bisulfite adduct and the most of amine as bisulfite salt. Then, extract with water until neutral to litmus, followed by recrystallization or column chromatography. But the overall procedure must be very quick, as Dan advices.
Imines are quickly hydrolyzed under acidic conditions but they are relatively stable under alkaline or neutral conditions.
On the other hand, monobasic sulfurous acid (pka2 = 6.9) is a weak acid that cannot accelerate imine hydrolysis, cannot easily neutralize imines (pka ≈ 9.0) but can form salts with amines (pka >10). Otherwise, purification by further extractions an aqueous solution of a weak organic acid (e.g acetic or propionic, pka ≈ 4.9) can also be effectuated.