Logic Gate with Multiple Inputs - Search