The Stern-Gerlach experiment indicates that electrons have an additional degree of freedom which must be accounted for by the wave function.
This is done by the use of wave functions that associate something more complex than a single complex number for each point in the configuration space.
For spin 1/2 particles, we take pairs of complex numbers, or spinors, and associate them with each point in the space.