In my town it is legal to take stuff as long as it is on the curb. If it is in the Garbage can or Recycling bin, it is illegal to take and you can be fined.