Entanglement with neutral atoms in the simulation of nonequilibrium dynamics of one-dimensional spin models