Answer:
Dumpster diving is legal in the U.S. except where prohibited by local regulation. You can contact the city attorney in Mesa for the answer. In general, if the dumpster is on private property, you should not enter the dumpster especially where there is a No Trespassing or Private Property sign where you can be arrested but if it is on public property like a street, it would be okay.