Nondeterministic Semantics for Nonclassical Logics: An Approach from the Perspective of Model Theory and Universal Algebra