"All that glisters is not gold" is logically incorrect.

Shakespeare should have written "Some that glisters is not gold" or "Not all that glisters is gold"