The aminal and hemiaminal SMARTS rules have been modified to be slightly more general. Both rules now match 1,1-diamines as well as hydroxyl amines.
aminal
hemiaminal