A psychiatric patient on unescorted day release from a hospital has been convicted of attempted murder.