Crystalline and Isoperimetric Square Configurations