In order to elucidate the reaction mechanism of ionic liquid-catalyzed CO2 with 2-aminobenzonitrile, [P4442]2[Hy] with two N- sites is designed for the efficient preparation of quinazoline-2,4(1H,3H)-diones. The results show that [Hy]2- can activate 2-aminobenzonitrile by hydrogen bonding with -NH2 in addition to activating CO2, and the key intermediate is revealed.