Just about any reasonable hierarchical model with X and Y being conditionally independent (independent given Z, say) is going to show that this is false.

For the sake of concreteness, suppose is standard normal and and are conditionally independent and identically distributed given . It is easy to show . But the joint pdf of X and Y can be expressed in that form, by writing down the joint pdf of X, Y, and Z, and then integrating out Z.