For a finite alphabet \A and η:Z→\A, the Morse-Hedlund Theorem states that η is periodic if and only if there exists n∈N such that the block complexity function Pη(n) satisfies Pη(n)≤n, and this statement is naturally studied by analyzing the dynamics of a Z-action associated to η. In dimension two, we analyze the subdynamics of a \ZZ-action associated to η:\ZZ→\A and show that if there exist n,k∈N such that the n×k rectangular complexity Pη(n,k) satisfies Pη(n,k)≤nk, then the periodicity of η is equivalent to a statement about the expansive subspaces of this action. As a corollary, we show that if there exist n,k∈N such that Pη(n,k)≤2nk, then η is periodic. This proves a weak form of a conjecture of Nivat in the combinatorics of words.