<｜begin▁of▁sentence｜>### Instruction:
Given a 3x3 matrix with boolean values, can you use the __plot__ function in igraph to create a matplotlib plot, with square cells, a grid, a border, and labeled rows and columns?
### Response:
from igraph import Matrix
import matplotlib.pyplot as plt

# Initialize a matrix with boolean values
m = Matrix([[False, True, False], [True, False, True], [False, True, False]])

# Create a plot
fig, ax = plt.subplots()
m.__plot__(context=ax, style='boolean', square=True, grid_width=1, border_width=1, row_names=['A', 'B', 'C'], col_names=['X', 'Y', 'Z'])

# Display the plot
plt.show()
<|EOT|>
