memory logic gate - Search