Although I haven't explicitly found this definition anywhere, it seems to me that the model-theoretic means of defining a product for $\mathcal{L}$-structures is as follows. Given a constant $c$ in the language $c^{\mathcal{M}\times\mathcal{N}}=(c^\mathcal{M},c^\mathcal{N})$; a function $f$, $f^{\mathcal{M}\times\mathcal{N}}((x_1,y_1),\dots,(x_n,y_n))=(f^\mathcal{M}(x_1,\dots,x_n),f^\mathcal{N}(y_1,\dots,y_n))$; and a relation $R$, $((x_1,y_1),\dots,(x_n,y_n))\in R^{\mathcal{M}\times\mathcal{N}}\iff (x_1,\dots,x_n)\in R^\mathcal{M}\land (y_1,\dots,y_n)\in R^\mathcal{N}$. (I based this off of observations from groups, rings, and preorders. Since this is only an observation, please correct me if I'm wrong.)
My question is what kinds of theories are perserved under this product? Specifically if $\mathcal{M},\mathcal{N}\models T$, is there a way of finding $S$ such that $\mathcal{M}\times\mathcal{N}\models S\subseteq T$? For instance, the theory of commutative rings is preserved, but the theory of division rings is not. I've tried to see if there is any pattern in the sentences specifically, but that failed to yield any results. I suspect that the answer is that it's not a property of specific sentences, but rather of the theories themselves. I suspect this because the sentence for the property of inverses in groups and that for the property of inverses in integral domains are almost exactly the same, structurally speaking, but only the former is preserved under products.
Edit: Confused division rings for integral domains originally.
I was able to track down a copy of Weinstein's thesis (on microfilm, no less) and I can reproduce his characterization of direct product sentences here. It is fairly technical, and it is somewhat unsatisfying in that rather than being an inductively defined class of formulas (like the Horn sentences and strict Horn sentences), it is a class defined in terms of a recursive decision procedure.
There is an argument in Chang and Keisler that sentences preserved under finite direct products are preserved under arbitrary direct products, so really all we need to do is characterize the sentences that are preserved under finite direct products.
First some notation. Given formulas $\varphi_0$, $\varphi_1$, and $\varphi$, we write $\varphi_0 \times \varphi_1 \Rightarrow \varphi$ to mean that whenever $M \models \varphi_0(a_1,\dots,a_n)$ and $N \models \varphi_1(b_1,\dots,b_n)$, then $M \times N \models \varphi((a_1,b_1),\dots,(a_n,b_n))$. For any set of formulas $S$, we write
In the case of $\bigvee S$ and $\bigwedge S$, assume that we have some fixed reasonable convention for listing these formulas to avoid redundancy. (For instance, we could require that the disjuncts/conjuncts are listed in some fixed lexicographic ordering with no repetitions.) In particular, when $S$ is finite, we want $\bigvee S$ and $\bigwedge S$ to be finite, and we want the maps $S \mapsto \bigvee S$ and $S \mapsto \bigwedge S$ to be computable.
Also, assume that we choose $\bigwedge^\ast S$ so that $\bigwedge^\ast S \subseteq \bigwedge S$. One thing to note is that there isn't a computable way to determine $\bigwedge^\ast S$ as a subset of $\bigwedge S$.
Let $(v_n)_{n< \omega}$ be an enumeration of our variables. Given a finite set of atomic formulas $S$, we define the following finite sets of atomic formulas:
Some things to note:
Weinstein proved the following lemma:
The definition of autonomous sets is given in Chang and Keisler. All that's relevant here is that our sets $S_n$ are all autononomous.
This lemma motivates the definition of the following primitive recursive predicate: $R(\varphi_0,\varphi_1,\varphi)$ holds if and only if $\varphi_0$, $\varphi_1$, and $\varphi$ belong to some common $S_n$ and
This is a computable predicate because we can take $S$ to be the set of atomic formulas occurring in our formulas and we only need to check $n$ that is roughly as large as the quantifier ranks of our formulas.
The lemma enails that $R(x,y,z)$ satisfies the following:
In particular, this means that a sentence $\chi$ is preserved under binary direct products (and therefore finite direct products and also arbitrary direct products) if and only if it is logically equivalent to a sentence $\varphi$ in some $S_n$ such that $R(\varphi,\varphi,\varphi)$ holds.