I don't know that the legal system necessarily cares about morality or moral responsibility. It seems like the only criteria that would matter would be legal responsibility, whatever that standard might be.
If you take actions which a reasonable person would expect to cause harm to others, there is a legal dimension there ranging from civil liability, to the extreme of 2nd degree murder via “depraved indifference” statutes.