A new unified theory of human brain function called Cortical Thought Theory (CTT) was developed which integrates the disciplines of Artificial Intelligence, neurophysiology, perceptual psychology, and theory of computation, to develop the theoretical constraints which determine the form of the solution of the computing architecture which the human brain uses to process information. It was shown that the human gestalt mechanism is probably a singular mechanism of classification and comparison which is used in all domains and at all levels of abstraction of human information processing in the cortex. This gestalt mechanism is central to the operation of human memory access and human inferencing. Most significantly, it was shown that the cardinality of the gestalt feature vector set is two. This new computing architecture was implemented by simultation and used to process audio (speech) and visual (human face images) inputs. The results were shown to be psychologically compatible with human speech and image perception. A complete human-like information processing architecture capable of multiple levels of abstract human inferencing was developed which account for the human characteristic of direct memory access to the desired information or inference. The theory also accounts for various types of human learning. Keywords: Computer architecture; Speech recognition; Image processing; Perception (Psychology); Bionics; Computers; Reasoning; Cerebral cortex; Combinatorial analysis.