Interacting one dimensional Ising spin chains as a model of the layered antiferroelectric squaric acid