The reaction taking place is CH3NH2+CHCl3+KOH → CH3−
+
N
≡
−0
C
+KCl+H2O This reaction is known as carbylamine reaction which produces isocyanides. This reaction is also used as a test to distinguish between primary amines from secondary and tertiary.