How to put in stand by the mkr1000

Sorry for the very late reply but have you looked at the sleep functions examples ?
Also ensure your firmware is up to date too as there were some improvements that came with that aspect.