Fix mistype error

not -> logical_not