A determinant of 0 means the matrix is NOT inversible, which is a requirement for the system to have a solution
This is not true. A non-zero determinant means that the system has exactly one solution. It is sufficient for solvability, but not neccessary.
In general, there are 3 classes of solutions for linear matrix equations:
1) Exactly one solution
Typically you can check this by computing the determinant of the system matrix or by performing Gaussian elimination.
The matrix is a triangular matrix with nonzero entries on the diagonal if there is exactly one solution.
2) Infinitely many solutions
This occurs if the system is underdetermined. That happens when there are less equations than variables, which means that some rows of the extended system matrix will be 0 after Gaussian elimination.
3) No solutions
After Gaussian elimination you have a row with zeros in your system matrix, but your right hand side is nonzero. This is your case. It is not solvable; the last row ( 0 = 6 ) is a contradiction.
Usually you simply use Gaussian elimination and look at the system after you've transformed all rows into upper diagonal form.
EDIT: I think you have a problem when creating the matrix, shouldn't the last column be -1 2 -5 ?
Warnexus' construction is correct; the last column of the extended system matrix is the right hand side of the equation system.