Returning items that you purchased in that store with a receipt in perfect condition is not illegal no matter how many times you do it. If you're truly excessive with the returns, the store may tell you that they won't accept future returns from you (or even ban you outright), but it's not actually a crime.

