Having looked through ALL Robert Taylor's films at The Internet Movie DataBase,I think the one you are seeking is called "High Wall".
This is the plot summary~
Steven Kenet, suffering from a recurring brain injury, appears to have strangled his wife. Having confessed, he's committed to an understaffed county asylum full of pathetic inmates. There, Dr. Ann Lorrison is initially cynical about Kenet's story and reluctance to undergo treatment. But against her better judgement, she begins to doubt his guilt, and endangers her career on a dangerous quest through dark streets awash with rain.
Have a look here:~
http://www.imdb.com/title/tt0039464/
and see if I am right?
Apologies if it is not! LOL