**It's a python type error**

Python error is telling you that a type in this line is wrong.

    verts=[myarray, myarray1]

`verts` is expecting a list of `BMVerts` (as pointed out in the documentation you linked) not a list of lists. If `myarray, myarray1` are both lists of vert sum them.

Always a good tip to search stackoverflow, or google on the cause of errors.