```python
def check_isosceles(x, y, z):
    """
    Checks if a triangle with side lengths x, y, z is isosceles and prints the result.
    A triangle is isosceles if it has at least two sides of equal length.
    The function also validates if the given side lengths can form a valid triangle.
    """
    # A valid triangle must have positive side lengths and satisfy the triangle inequality theorem.
    is_valid_triangle = (x > 0 and y > 0 and z > 0) and \
                        (x + y > z) and \
                        (x + z > y) and \
                        (y + z > x)

    if not is_valid_triangle:
        print("Not an isosceles triangle")
        return

    # An isosceles triangle has at least two equal sides.
    # An equilateral triangle is a special case of an isosceles triangle.
    if x == y or y == z or x == z:
        print("Isosceles triangle")
    else:
        print("Not an isosceles triangle")

```