A better name for AI is "pattern recognition" because thats what it is. There is nothing intelligent about it.
Sarcasm aside, your definition is too low-level, as if we called brains just braincells. Pattern recognition is a building block of AI like a logic gate is a building block of a CPU.
We don't understand brains or braincells - how many operations per cecond can a braincell do? What type of operations? How many bytes does it store? We don't know.
Can we replace a single braincell with a chip and get them to act the same?
AI is not a single network usually, it is a pipeline of networks of different kinds, see e.g. https://m.youtube.com/watch?v=P1IcaBn3ej0 (seek to 1:35 for beginning of an architecture overview). You can’t call it “just pattern matching” without fetching it too far.