Aminals are unstable compounds and very difficult to isolate (and if isolated, that happens only at a narrow range of conditions). So, the best is to purify by recrystallization.
Anyway, Schiff bases are unstable at acidic medium but they are relatively stable under neutral and basic conditions. So you try to effectuate aqueous extractions at pH ≈ 10 and then wash your organic phase by repeated extractions with water until neutral to litmus. That way, you get rid of the phthalimide, too. The problem is that dichloromethane forms emulsion during extractions with alkaline medium. You can break the emulsion, by adding a few drops of silicon oil or ethanol (Not always but sometimes, it works).