Sensex and Nifty snapped a three-day losing streak, closing higher on Monday, led by IT stocks such as Infosys and HCL Technologies.