This might be very elementary. But I have been baffled for a while.
For the infinite square well potential, the boundary condition is that $\psi(0) =\psi(L) = 0 $. However, from real analysis, we know that we are free to modify the value of a function on any set of measure zero. So what is the point of specifying or constraining the values of $\psi$ at the ends to zero? $\psi$ could take the constant value of 1 everywhere except at the ends.